package com.alks.entity.data.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * ？（外包给他厂用到的材料及价格）
 * </p>
 *
 * @author ms
 * @since 2024-07-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("PC_AP_AMT")
@ApiModel(value="PcApAmt对象", description="？（外包给他厂用到的材料及价格）")
public class PcApAmt implements Serializable {

    private static final long serialVersionUID = 1L;

    @JsonIgnore
    @ApiModelProperty(value = "公司ID")
    private String companyId;

    @ApiModelProperty(value = "单据号码")
    private String slipNo;

    @JsonIgnore
    @ApiModelProperty(value = "下单日期")
    private LocalDateTime slipDate;

    @ApiModelProperty(value = "厂商ID")
    private String vendorNo;

    @ApiModelProperty(value = "厂商名称")
    private String vendorName;

    @ApiModelProperty(value = "指令")
    private String lotNo;

    @JsonIgnore
    @ApiModelProperty(value = "号码")
    private BigDecimal item;

    @ApiModelProperty(value = "材料颜色")
    private String mtlColor;

    @ApiModelProperty(value = "材料名称")
    private String mtlName;

    @ApiModelProperty(value = "材料规格")
    private String mtlSpec;

    @ApiModelProperty(value = "材料单位")
    private String mtlUnit;

    @ApiModelProperty(value = "价格")
    private BigDecimal price;

    @ApiModelProperty(value = "数量")
    private BigDecimal qty;

    @ApiModelProperty(value = "金额")
    private BigDecimal amt;

    @JsonIgnore
    @ApiModelProperty(value = "结算月份")
    private String financeYymm;

    @ApiModelProperty(value = "备注")
    private String remark;

    @JsonIgnore
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime sysDate;

    @ApiModelProperty(value = "创建人")
    private String sysUser;

    @JsonIgnore
    @ApiModelProperty(value = "审核标志位")
    private String cfmFlag;

    @JsonIgnore
    @ApiModelProperty(value = "审核日期")
    private LocalDateTime cfmDate;

    @JsonIgnore
    @ApiModelProperty(value = "审核人")
    private String cfmUser;

    @JsonIgnore
    @ApiModelProperty(value = "结算方式")
    private String accountName;

    @JsonIgnore
    @ApiModelProperty(value = "打印时间")
    private BigDecimal printTime;

    @JsonIgnore
    @ApiModelProperty(value = "打印次数")
    private Integer printCount;


}
